projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1234ca
)
Fix invoking Emacs via a symlink on Cygwin
author
Ken Brown
<kbrown@cornell.edu>
Thu, 27 Jun 2019 17:43:27 +0000
(13:43 -0400)
committer
Ken Brown
<kbrown@cornell.edu>
Thu, 27 Jun 2019 17:43:27 +0000
(13:43 -0400)
* src/emacs.c (load_pdump) [CYGWIN]: Strip ".exe" suffix.
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index d5eccf78d80faea6d8bba44ab96c0fcf866e4710..32bb57e27251b4e90b00a913a5cf94aa9fa0efd8 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-813,7
+813,7
@@
load_pdump (int argc, char **argv)
char *exename = NULL;
char *real_exename = NULL;
const char* strip_suffix =
-#if
def DOS_NT
+#if
defined DOS_NT || defined CYGWIN
".exe"
#else
NULL